<?php
/**
 * Created by PhpStorm.
 * User: dy
 * Date: 2019/12/31
 * Time: 15:28
 */
namespace app\admin\model;
use app\common\model\BaseModel;
use util\StringUtil;

class AuthGroup extends BaseModel
{
    public function getRulesArrayAttr($value,$data){
        return StringUtil::instance()->strToArr($data['rules']);
    }
}